#include "define.h"

const int g_HeartbeatInterval = 5000;
const int g_CommandTimeout = 5000;
const int g_IdleTimeout = 50000;

const int g_TcpListenSize = 128;
const int g_timerRepeat = 1000;

const int g_TcpDataBuffSize = 3000;
const int g_UdpDataBuffSize = 65536;

uint32_t g_PublicIP = 0;

const std::string g_Cipher = "xswasdkkkk";

const uint32_t g_MaskTrans[] = {
    0x0,
    0x1, 0x3, 0x7, 0xF,
    0x1F, 0x3F, 0x7F, 0xFF,
    0x1FF, 0x3FF, 0x7FF, 0xFFF,
    0x1FFF, 0x3FFF, 0x7FFF, 0xFFFF,
    0x1FFFF, 0x3FFFF, 0x7FFFF, 0xFFFFF,
    0x1FFFFF, 0x3FFFFF, 0x7FFFFF, 0xFFFFFF,
    0x1FFFFFF, 0x3FFFFFF, 0x7FFFFFF, 0xFFFFFFF,
    0x1FFFFFFF, 0x3FFFFFFF, 0x7FFFFFFF, 0xFFFFFFFF};